import { Button } from "@mui/material";
import "./index.less";

const src = require("@/assets/images/home/subject.png");

interface IData {
  data: IRecords;
}

export default function List({ data }: IData) {
  // const;

  return (
    <div className="list-item">
      <img src={src} alt="" />
      <div className="progress">{data.title}</div>
      <Button variant="contained">刷题</Button>
    </div>
  );
}
